#include <stdio.h>
#include "creatsocket.h"
#include "my_link.h"
#include "acceptConnect.h"

int main(int argc, void **argv)
{
    // H = (list_inf *)malloc(sizeof(list_inf));
    H = link_create();

    int sockfd = creatsock(atoi((char *)argv[1]));
    printf("sockfd = %d\n", sockfd);
    while (1)
    {
        /* code */
        acceptConnect(sockfd);
    }

    return 0;
}
